
cd imgs
for img in *pgm; do
  convert $img $img.png
done
rm *.pgm

